add gemini 3.1-flash-lite for vertex#600
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f825d67105
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "Codex (@codex) review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "Codex (@codex) address that feedback".
| "max_input_tokens": 1048576, | ||
| "max_output_tokens": 65535 | ||
| }, | ||
| "publishers/google/models/gemini-3.1-flash-lite": { |
There was a problem hiding this comment.
Add endpoint type metadata for new Vertex model
This new publishers/google/models/... entry is added only in model_list.json, but getModelEndpointTypes() in packages/proxy/schema/index.ts first checks the hardcoded AvailableEndpointTypes map and otherwise falls back to the model format default (google). In the lookup-failed path (packages/proxy/edge/index.ts), that fallback is used to infer secret type, so this model will be treated as Google API instead of Vertex and requests can be routed to the wrong provider when users rely on direct-key fallback behavior.
Useful? React with 👍 / 👎.

No description provided.